package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
public class SupplierGoodsResponse {
    @ApiModelProperty(value = "商品列表", dataType = "SupplierGoodsResponse.Goods")
    private PageResponse2<Goods> goodsPage;

    @Data
    @Builder
    @ApiModel("SupplierGoodsResponse.Goods")
    public static class Goods {
        @ApiModelProperty(value = "商品ID")
        private Integer goodsId;
        @ApiModelProperty(value = "商品名称")
        private String goodsName;
        @ApiModelProperty(value = "商品图片")
        private String photo;
        @ApiModelProperty(value = "商品价格")
        private BigDecimal price;
        @ApiModelProperty(value = "标签：3d vr、ar、视频")
        private List<String> labels;
        @ApiModelProperty(value = "人气")
        private Long popularityNum;
    }
}
